package zzs.generalframework.console.core.parameter.commonparameter.dimissiontype.dao;

import java.util.List;

import zzs.generalframework.common.core.parameter.commonparameter.dimissiontype.DimissionTypeInfo;
import zzs.generalframework.common.core.parameter.commonparameter.dimissiontype.DimissionTypePO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.parameter.commonparameter.dimissiontype.dao
 * @author zzs
 * @date 2018年2月2日
 * @version 1.0
 */
public interface IDimissionTypeDao
{
	/**
	 * 创建离职类别信息
	 * 
	 * @param dimissionTypePO
	 * @return
	 */
	public boolean insert(DimissionTypePO dimissionTypePO);

	/**
	 * 更新离职类别信息
	 *
	 * @param dimissionTypePO
	 * @return
	 */
	public boolean update(DimissionTypePO dimissionTypePO);

	/**
	 * 查询离职类别信息
	 *
	 * @param dimissionTypeInfo
	 * @return
	 */
	public List<DimissionTypePO> select(DimissionTypeInfo dimissionTypeInfo);

	/**
	 * 删除离职类别信息
	 *
	 * @param dimissionTypePO
	 * @return
	 */
	public boolean delete(DimissionTypePO dimissionTypePO);

	/**
	 * 统计离职类别信息
	 * 
	 * @param dimissionTypePO
	 * @return
	 */
	public Long count(DimissionTypePO dimissionTypePO);

}
